extends Node3D

func _ready() -> void:
	$area_3d.connect("input_event", input_event)

func input_event(_camera:Camera3D, _event:InputEvent, _event_position:Vector3, _normal:Vector3, _shape_idx:int) -> void:
	if _event is InputEventMouseButton && _event.button_mask == MOUSE_BUTTON_MASK_LEFT && _event.pressed:
		$cheshire.move(_event_position)
